/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#include <stdio.h>

#ifdef _DEBUG 

#pragma comment(lib,"D:/U/Project/x64/Debug/engine.lib")

#else

#pragma comment(lib,"D:/U/Project/x64/Release/engine.lib")

#endif


#pragma comment(lib, "D:/U/DEV/luaJIT/lib/buildvm.lib")
#pragma comment(lib, "D:/U/DEV/luaJIT/lib/lua51.lib")
#pragma comment(lib, "D:/U/DEV/luaJIT/lib/luajit.lib")
#pragma comment(lib, "D:/U/DEV/luaJIT/lib/minilua.lib")



#include <JIT.h>
#include <core/设备内存缓存.h>


#include "A_引擎/init.h"
#include "主窗口.h"



int main() {
	std::locale::global(std::locale("zh_CN.UTF-8"));
	std::wcout.imbue(std::locale());


	f_init_JTI();
	
	f_init_Engine();
	f_init主窗口();
	f_init_Frame();
	f_init_辅助物体();


	f_run主循环();

	f_close主窗口();
	f_release_Engine();
	

	f_close_JIT();

	return 0;
}
